package com.qk.common.enums;
public enum ParamEnum implements  Code{
    PARAM_ERROR("参数错误", 10001),
    LOGIN_PASSWORD_ERROR("登录密码错误", 10002),
    LOGIN_USERNAME_ERROR("登录用户错误", 10003),
    USER_NOT_EXIST("用户不存在", 10004),
    CLUE_NOT_EXIST_OR_DELETED("线索不存在或已被删除", 10005),
    BUSINESS_NOT_FOUND("商机不存在", 10006),
    OPERATE_ERROR("缓存未命中",10007 );
    private final String msg;
    private final int code;
    ParamEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }
    @Override
    public int getCode() {
        return this.code;
    }
    @Override
    public String getMsg() {
        return this.msg;
    }
}
